package observer00;

import observer00.imp.ILiSi;

/**
 * 观察者
 */
public class LiSi implements ILiSi {
    @Override
    public void update(String context) {
        System.out.println("李斯：观察到韩非子开始活动。。。。");
        this.reportToQinShiHuang(context);
        System.out.println("李斯：汇报完毕");
    }

    private void reportToQinShiHuang(String context){
        System.out.println("李斯：报告，秦老板！韩非子" + context + "了");
    }
}
